package oop3.pet;

public class PetDoctorTest {

	public static void main(String[] args) {
		PetDoctor d = new PetDoctor("李教授");
		Pet p = new Crocodile("加菲", 100, 89, "波斯鳄");
		d.cure(p);
		System.out.println(">>>>>>>>>>>>>>>>>>>");
		Cat c1 = new Cat("加菲", 88, 99, "波斯猫", "公");
		Snake s = new Snake("白素贞", 56, 99);
		d.cure(c1);
		System.out.println(">>>>>>>>>>>>>>");

		d.cure(s);
		System.out.println(">>>>>>>>>>>>>>");
		Pet w = new Yingwu("小花花", 55, 55);
		d.cure(w);
		System.out.println(">>>>>>>>>>>>>>");
		// Pet p = new Pet("小虫虫", 9, 9);
		// d.cure(p);
	}

}
